/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const deviceRouter = {
  path: '/device',
  component: Layout,
  name: 'device',
  meta: {
    title: '设备管理',
    icon: 'component'
  },
  children: [
    {
      path: 'Camera',
      component: () => import('@/views/device/Camera/index.vue'),
      name: 'Camera',
      meta: { title: '摄像头管理' }
    },
    {
      path: 'other',
      component: () => import('@/views/device/other/index.vue'),
      name: 'other',
      meta: { title: '其他设备' }
    }
  ]
}

export default deviceRouter
